/*
 */

package com.railway.notice.dao;

import java.util.List;

import com.railway.notice.model.Notice;
import com.railway.notice.vo.NoticeQuery;

import cn.org.rapid_framework.page.Page;




public interface INoticeDao{

	public Notice getById(java.lang.String id);
	
	public void deleteById(java.lang.String id);
	
	/** 插入数据 */
	public void save(Notice entity);
	
	/** 更新数据 */
	public void update(Notice entity);

	/** 根据id检查是否插入或是更新数据 */
	public void saveOrUpdate(Notice entity);

	public boolean isUnique(Notice entity, String uniquePropertyNames);
	
	public List<Notice> findAll();

	
	public Page findPage(NoticeQuery query);
	

}
